// const view = require('think-view');
const model = require('think-model');
const cache = require('think-cache');
const session = require('think-session');
const email = require('think-email');
const hashids = require('think-hashids');// Generate a short unique ID from the integer for ThinkJS base on hashids
module.exports = [
  // view, // make application support view
  model(think.app),
  cache,
  session,
  email,
  hashids({
    salt: 'this is salt',
    minLength: 10,
    alphabet: 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'
  })
];
